package com.web.callcenter.service.impl;

import java.util.List;

import com.web.callcenter.bean.DictItem;
import com.web.callcenter.service.IDictService;
import com.web.support.IBaseDAO;

public class DictService implements IDictService{
	private IBaseDAO dao;
	
	public IBaseDAO getDao() {
		return dao;
	}

	public void setDao(IBaseDAO dao) {
		this.dao = dao;
	}
	
	public List getDictByGroupid(String groupid) {
			List list = dao.findListByProperty("groupid", groupid, DictItem.class);
			
			return list;
	}

}
